﻿using System;

namespace TextEditor
{
    

    public class A_ReplaceAll : A_Action
    {
        public override string ActionName()
        {
            return "replaceall";
        }

        public override bool Execute()
        {
            base.myOwnerDocument._ReplaceAll(base.Param1, base.Param2);
            return true;
        }

        public override bool isEnable()
        {
            return base.myOwnerDocument.CanModify();
        }
    }
}

